package com.njtoyo.taxi.admin.rest.wrapper.local_service.merchant.examine;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.local_service.LifeMerchantState;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.merchant.LifeMerchantQueryWrapper;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

@Data
public class LifeMerchantExamineWrapper extends Page<LifeMerchantQueryWrapper> {
    public LifeMerchantExamineWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "商户名称")
    private String name;

    @ApiModelProperty(value = "联系人")
    private String contactPerson;

    @ApiModelProperty(value = "状态 0:waiting_for_review[待审核],1:review_failed[审核未通过],2:review_approved[审核已通过(未营业)],3:operating[营业中]")
    private LifeMerchantState state;

    @ApiModelProperty(value = "运营区")
    private Long merchantRegionId;
}
